﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DtoFw.Result
{
    public class HaiKangBoxUserList
    {
        public bool success { get; set; } = true;
        public object msg { get; set; }
        public List<UserList> data { get; set; }
        public int total { get; set; }
        public string field { get; set; }
    }

    public class UserList
    {
        public bool enabled { get; set; } = false;
        public long id { get; set; }
        public string userCode { get; set; }
        public string userName { get; set; }
        public string password { get; set; }
        public string modifyTime { get; set; }
        public string cardId { get; set; }
        public string fingerprint { get; set; }
        public string faceInfo { get; set; }
        public string imgUrl { get; set; }
        //1：管理员；0：普通用户；
        public int userType { get; set; } = 0;
        public string cellCode { get; set; }
        public string baiduFaceInfo { get; set; }
        public string epcs { get; set; }
    }


    public class BoxUserList
    {
        public bool enabled { get; set; } = false;
        public long id { get; set; }
        public string userCode { get; set; }
        public string userName { get; set; }
        public string password { get; set; }
        public string modifyTime { get; set; }
        public string cardId { get; set; }
        public string fingerprint { get; set; }
        public string faceInfo { get; set; }
        public string imgUrl { get; set; }
        //1：管理员；0：普通用户；
        public int userType { get; set; } = 0;
        public List<Cell2DeviceCode> cellCodes { get; set; }
        public string baiduFaceInfo { get; set; }
        public string epcs { get; set; }
    }

    public class Cell2DeviceCode
    {
        public string deviceCode { get; set; }
        public string cellCodes { get; set; }
    }

}
